//
//  WDTaskInfoDetailRequest.m
//  wd-serviceapp
//
//  Created by Bin Tang on 2024/8/29.
//

#import "WDTaskInfoDetailRequest.h"

@interface WDTaskInfoDetailRequest ()
@property (nonatomic, strong) NSNumber *taskId;
@end

@implementation WDTaskInfoDetailRequest

/// 工单id
/// - Parameter taskId: taskId description
- (instancetype)initWithTaskId:(NSNumber *)taskId {
    if (self = [super init]) {
        self.taskId = taskId;
    }
    return self;
}


- (NSString *)requestUrl {
    return kAPP_STATION_TASK_INFO_DETAIL;
}

- (TYZRequestMethod)requestMethod {
    return TYZRequestMethodGET;
}

- (TYZRequestSerializerType)requestSerializerType {
    return TYZRequestSerializerTypeHTTP;
}

- (id)requestArgument {
    NSDictionary *params = @{@"id":self.taskId};
    return params;
}

- (Class)rspClass {
    return [WDArrivalServiceDetailModel class];
}

@end
